99119d046333c7fa272239d5439c3afc45e90ac9,src/cn/edu/buaa/crypto/MapUtils.java,MapUtils,MapToG1,#Pairing#number[]#,102

Before Change


     */
    public static Element MapToG1(Pairing pairing, byte[] message) {
        byte[] shaResult = hash(512, message);
        Element hash = pairing.getG1().newElement().setFromHash(shaResult, 0, shaResult.length);
        return hash;
    }

After Change


     */
    public static Element MapToG1(Pairing pairing, byte[] message) {
        byte[] shaResult = hash(512, message);
        Element hash = pairing.getG1().newElement().setFromHash(shaResult, 0, shaResult.length).getImmutable();
        return hash;
    }